<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>六西格玛知识管理</title>
<link href="<?php echo $this->baseUrl ?>/public/style/style.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $this->baseUrl ?>/public/style/form-check.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $this->baseUrl ?>/public/style/daterangepicker.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $this->baseUrl ?>/public/style/jquery-ui.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $this->baseUrl ?>/public/style/thickbox.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<?php echo $this->baseUrl ?>/public/scripts/jquery.js"></script>
<script type="text/javascript" src="<?php echo $this->baseUrl ?>/public/scripts/daterangepicker.js"></script>
<script type="text/javascript" src="<?php echo $this->baseUrl ?>/public/scripts/jquery-ui.js"></script>
<script type="text/javascript" src="<?php echo $this->baseUrl ?>/public/scripts/thickbox-compressed.js"></script>
<script type="text/javascript" src="<?php echo $this->baseUrl ?>/public/scripts/jQuery.FormValidator.js"></script>
<script type="text/javascript" src="<?php echo $this->baseUrl ?>/public/fckeditor/fckeditor.js"></script>
<script type="text/javascript" src="<?php echo $this->baseUrl ?>/public/scripts/jQuery.FormValidator.js"></script>
<script type="text/javascript">
	function CheckForm() {
		return $("#form1").FormValidate();
	}
	$(document).ready(function() {
		$("#form1").SetValidateSettings({});
		$("#name").SetValidateSettings({
			FormValidate: {
				Empty: {
					Value: true,
					Message: "课程名称不能为空"
				}
			},
			Message: {
				Text: {
					Success: "",
					Error: "必须输入课程名称！"
				},
				MessageSpaceHolderID: "TipTitle"
			}
		});
		$("#course_time").SetValidateSettings({
			FormValidate: {
				Empty: {
					Value: true,
					Message: "课程时间不能为空"
				},
				Format: {
					Value: "^[0-9]{4}-[0-9]{1,2}-[0-9]{1,2} -- [0-9]{4}-[0-9]{1,2}-[0-9]{1,2}$",
					Message: "课程时间格式不正确"
				}
			},
			Message: {
				Text: {
					Show: "时间格式：2010-01-01 -- 2010-12-31",
					Success: "",
					Error: "必须输入课程时间！"
				},
				MessageSpaceHolderID: "TipCourseTime"
			}
		});
	});
</script>

</head>

<body>
<!--头部-->
<?php echo $this->partial('common/header.html', array('template'=>$this->template, 'baseUrl'=>$this->baseUrl)) ?>

<!--主体-->
<div class="main-box" id="mainBox">
  <div class="third-menu">
    <?php echo $this->partial('common/operation.html', array('template'=>$this->template, 'baseUrl'=>$this->baseUrl)) ?>
  	<div class="menu-title"><span class="icon"></span>课程添加</div>
  </div>
  
  <div class="separate-line"></div>
  
  <?php echo $this->partial('course/add_content.html', array('template'=>$this->template, 'baseUrl'=>$this->baseUrl)) ?>
</div>










<!--底部-->
<?php echo $this->partial('common/footer.html') ?>
</body>
</html>